package com.bpz.main.bean;

/**
 * Created by 半瓶子 on 2/8/15.
 * blog: xusir.cnblogs.com
 */
public enum ArticleInterval {
    hot("热点", 8),
    late("最新", 12),
    day("一天", 24),
    week("week", 7 * 24),
    month("month", 30 * 24);
    private String description;
    private int value;

    ArticleInterval(String descriptin, int value) {
        this.description = descriptin;
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
